package com.zhuoyue.biz.core.api.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.zhuoyue.biz.core.api.domain.LocalSceneZigbeeDeviceRelation;
import com.zhuoyue.biz.core.api.dto.localscene.ZigbeeDeviceDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wjming
 * @ClassName: LocalSceneZigbeeDeviceRelationMapper
 * @Description: 本地场景和zigbee设备之间的关系信息
 * @Date 2021-07-08 14:02
 */
public interface LocalSceneZigbeeDeviceRelationMapper extends BaseMapper<LocalSceneZigbeeDeviceRelation> {
    /**
     * 本地场景和zigbee设备之间的关系信息
     * @param zigbeeDeviceRelationQueryWrapper
     * @return
     */
    List<ZigbeeDeviceDTO> selectListById(@Param(Constants.WRAPPER) QueryWrapper<LocalSceneZigbeeDeviceRelation> zigbeeDeviceRelationQueryWrapper);
}